package com.xingkeduo.pojo.table;

import com.xingkeduo.util.pojo.base.BaseTable;
import lombok.Data;
import lombok.experimental.Accessors;
import org.apache.ibatis.type.Alias;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.Pattern;


/**
 * 文件概述
 *
 * @author wangxilong <wangxilong@xingkeduo.com>
 * @version id:v0.1 18-12-29 下午7:08
 * @package BeautyOS
 * @copyright Copyright (c) XKD 2019
 */
@Data
@Accessors(chain = true)
@Alias("Office")
public class OfficeTable extends BaseTable<OfficeTable> {
    private Long vendorId;

    private String vendorName;

    private Long citiesId;

    private String citiesName;

   // @NotBlank(message = "分公司名称不允许为空")
    private String name;

    private String manager;

   // @Pattern(regexp = "^1(3|4|5|6|7|8|9)\\d{9}$",message = "手机号码格式错误")
    private String phone;

    private Integer status;

}
